diff options
| author | 2023-04-17 18:53:55 +0000 | |
|---|---|---|
| committer | 2023-04-17 18:53:55 +0000 | |
| commit | b135aac8531c1e1488147ad8c6f98eddbdbe0c99 (patch) | |
| tree | 189e9fea7109564d63207e231d5b0e5624243072 /app/[compositeKey] | |
| download | HydroRoll-b135aac8531c1e1488147ad8c6f98eddbdbe0c99.tar.gz HydroRoll-b135aac8531c1e1488147ad8c6f98eddbdbe0c99.zip | |
Initial commit
Created from https://vercel.com/new
Diffstat (limited to 'app/[compositeKey]')
| -rw-r--r-- | app/[compositeKey]/page.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/[compositeKey]/page.tsx b/app/[compositeKey]/page.tsx new file mode 100644 index 0000000..d91f182 --- /dev/null +++ b/app/[compositeKey]/page.tsx @@ -0,0 +1,7 @@ +import { redirect } from "next/navigation"; + +// This page is here for backwards compatibility with old links. +// Old links were of the form /{compositeKey} and now they are of the form /unseal#{compositeKey} +export default function Page(props: { params: { compositeKey: string } }) { + return redirect(`/unseal#${props.params.compositeKey}`); +} |
